<div class="am-container activity ">
            <div class="shopTitle ">
            <?php if(!empty($setting['head'])){?>
              <h4><?php echo $setting['head']?></h4>
              <?php }?>
              <?php if(!empty($setting['headdes'])){?>
              <h3><?php echo $setting['headdes']?></h3>
              <?php }?>
              <?php if(!empty($setting['more'])){?>
              <span class="more ">
              <a href="<?php echo empty($setting['morelink'])?"":$setting['morelink']?> "><?php echo $setting['more']?><i class="am-icon-angle-right" style="padding-left:10px ;"></i></a>
               </span><?php }?>
            </div>
            <?php $row=(int)(12/count($setting['setting']));?>
                        <div class="am-g am-g-fixed ">
          <?php foreach($setting['setting'] as $onerow){?>
            <div class="am-u-sm-<?php echo $row<3?3:$row?> ">
            <?php if($onerow['type']!=0){ ?>
              <div class="icon-sale one "></div>  
                <h4><?php echo $type[$onerow['type']]?></h4> 
                <?php }?>
                <?php if(!empty($onerow['image'])){?>            
              <div class="activityMain ">
                <img data-src="<?php echo "image/".$onerow['image']?>"  class='lazyload'>
              </div>
              <?php }?>
              <?php if(!empty($onerow['title'])){?> 
              <div class="info ">
                <h3><?php echo $onerow['title']?></h3>
              </div> 
              <?php }?>                           
            </div>
            <?php }?>

            </div>
</div>